import request from '@/util/request'

const Api = {};

Api.list = function() {
	return request({
		url: 'config',
		method: 'get'
	})
}
Api.add = function(data) {
	return request({
		url: 'config',
		method: 'post',
		data: data,
		loading: false,
	})
}
export default Api
